projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
630d689
)
* cm.c (cmgoto): Mark variables that gcc -Wuninitialized does not
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 8 Mar 2011 17:28:17 +0000
(09:28 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 8 Mar 2011 17:28:17 +0000
(09:28 -0800)
deduce are never used uninitialized.
src/ChangeLog
patch
|
blob
|
history
src/cm.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 3375d985a41c6083464bf3cd0fb34bc2d318bbbc..477e74483e66d16df88cd43a647b425ae121b73e 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-82,6
+82,9
@@
* bidi.c (bidi_check_type): Now static, since it's not used elsewhere.
(BIDI_BOB): Remove unused macro.
+ * cm.c (cmgoto): Mark variables that gcc -Wuninitialized does not
+ deduce are never used uninitialized.
+
2011-03-06 Chong Yidong <cyd@stupidchicken.com>
* xdisp.c (redisplay_window): Revert incorrect logic in 2011-03-06
diff --git
a/src/cm.c
b/src/cm.c
index d4aedad6db4f3a9d11b4185011ef10cefe96afba..af4116f3fecc22f607a599e0d9b0db2b7f68bb2e 100644
(file)
--- a/
src/cm.c
+++ b/
src/cm.c
@@
-330,7
+330,7
@@
cmgoto (struct tty_display_info *tty, int row, int col)
llcost,
relcost,
directcost;
- int use;
+ int use
IF_LINT (= 0)
;
char *p,
*dcm;
@@
-460,4
+460,3
@@
Wcm_init (struct tty_display_info *tty)
return - 2;
return 0;
}
-